
<?php $this->load->view('admin/admin_head.php');?>

<div id="main_head" class="main_head" style="height:70px;">
<table class="menu">
<tr><td>
<a href="<?php echo site_url('admin/category')?>" class="current"><?php echo lang('func_category')?></a>
</td></tr>
</table>
<table cellSpacing=0 width="100%" class="content_list"><thead>
<tr>
<th width=40  align="left">ID</th>
<th  align=left>标题</th>
<!-- <th width=150  align="left">栏目模型</th> -->
<!-- <th width=150 align="left">栏目目录</th> -->
<th width=80 align="left">导航显示</th>
<th width=50  align="left">操作</th>
</tr>
</thead>
</table>
</div>
<form name="formlist" id="formlist" action="http://localhost/x6cms/index.php?/admin/category" method="post">
<input type="hidden" name="action" id="action" value="http://localhost/x6cms/index.php?/admin/category">
<div id="main" class="main">
<table cellSpacing=0 width="100%" class="content_list"><tbody id="content_list">
<?php foreach($categoryList as $category):?>
	<tr>
	<td width=40><?php echo $category['id']?></td>
	<td><div class='fl' ><?php echo $category['indention']?>
<!-- 		<input type='hidden' name='ids[]' value='3'> -->
		<input type='text' name='listorder[]' class='input-order' size='3' value=<?php echo $category['order']?>>
		<a href='javascript:void(0)' target='_blank'><?php echo $category['name']?></a></div> 
		<a href="javascript:void(0)" title='添加' class='add'></a>
	</td>
<!-- 	<td width=150>产品</td> -->
<!-- 	<td width=150>product</td> -->
	<td width=80 align='left'><?php echo $category['status']?></td>
	<td width=50>
	<a href="javascript:void(0)" title='编辑' class='edit'></a>
	<a href="javascript:void(0)" title='删除本项' class='sdel'></a>
	</td>
	</tr>
<?php endforeach;?>
</tbody></table>
</div>
<div class="main_foot">
<table><tr><td><div class="func">
<input type="button" class="btn" onclick="javascript:void(0)" value="添加">
<input type="button" class="btn" onclick="javascript:void(0)" value="排序">
</div></td></tr></table>
</div>
</form>
<?php $this->load->view('admin/admin_foot.php');?>
